package cn.clwxy.gdz.dao;

import cn.clwxy.gdz.entity.OrderSubjectrelative;
import cn.clwxy.gdz.util.BaseDao;

public class OrderSubjectDaoImpl extends BaseDao implements OrderSubjectDao{

	@Override
	public int addOrderSubject(OrderSubjectrelative orderSubjectrelative) {
		String sql="INSERT INTO ordersubjectrelative(orderId,subjectId) value(?,?);";
		return super.update(sql, orderSubjectrelative.getOrderId(),orderSubjectrelative.getSubjectId());
	}


}
